package com.phcx.corporate.config;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/*
 * @Author: zmh
 * @Date: 2023/05/19/11:35
 * @Description: 分页查询配置类
 */
@Configuration
public class MPConfig {
    @Bean
    public PaginationInterceptor paginationInterceptor(){
        return new PaginationInterceptor();
    }
}
